package com.gxa.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class DistrictSysContact {

  private Integer id;//密接人员编号
  private String jointType;//密接类型
  private Integer associatedCases;//关联病例
  private Integer nextClosePatientNumber;//次密人数
  private String name;//姓名
  private String sex;//性别
  private Integer age;//年龄
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date birthday;//出生年月
  private String idNum;//身份证号/护照号
  private String job;//职业
  private String phoneNum;//联系方式
  private String residenceAddress;//户籍地址省市县
  private String nativeAddress;//户籍地址
  private String nowAddress;//现居住地省市县
  private String address;//现居地（含街道）
  private String familyInformation;//同居住家庭成员信息
  private String relationship;//与感染者关系
  private String contactSituation;//与感染者接触情况
  private boolean medicalStaff;//是否医务人员
  private String contactMode;//接触方式
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date lastContactTime;//末次接触时间
  private String exposureType;//暴露类型
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date controlTime;//管控时间
  private String controlSituation;//管控情况
  private boolean symptoms;//是否出现症状
  private String symptomDescription;//症状描述
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date occurrenceTime;//出现时间
  private String supportingMaterials;//证实材料
  private String registrant;//登记人
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date registrationDate;//登记日期
  private String status;//状态
  private String source;//来源
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date startDate;//隔离开始日期
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date removeDate;//隔离解除日期
  private String normalOrAbnormal;//正常或异常
  private List<PatientVaccination> patientVaccinationList;

}
